Skip to content

[PW_SID:1069613] riscv: vdso_cfi build cleanup improvements#1646

Open
linux-riscv-bot wants to merge 3 commits intoworkflow__riscv__fixesfrom
pw1069613
Open

[PW_SID:1069613] riscv: vdso_cfi build cleanup improvements#1646
linux-riscv-bot wants to merge 3 commits intoworkflow__riscv__fixesfrom
pw1069613

Conversation

@linux-riscv-bot
Copy link

PR for series 1069613 applied to workflow__riscv__fixes

Name: riscv: vdso_cfi build cleanup improvements
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1069613
Version: 1

Linux RISC-V bot and others added 3 commits February 20, 2026 03:51
When building VDSO with CFI support, source files are copied from the main
VDSO directory to the CFI build directory as part of the build process.
However, these copied source files were not removed during 'make clean',
leaving temporary files in the build directory.

Add the clean-files variable to ensure that these copied .c and .S files
are properly cleaned up. The notdir() function is used to strip the path
prefix, as clean-files expects relative file names without directory
components.

This ensures the build directory is left in a clean state after make clean.

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The vdso_cfi build process copies source files (*.c, *.S) from the main
vdso directory to the build directory. Without a .gitignore file, these
copied files appear as untracked files in git status, cluttering the
working directory.

Add a .gitignore file to exclude:
- Copied source files (*.c, *.S)
- Temporary build files (vdso.lds, *.tmp, vdso-syms.S)
- While preserving vdso-cfi.S which is the original entry point

This follows the same pattern used in the main vdso directory
and keeps the working directory clean.

Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 138.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 998.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1345.68 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.72 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "[1/2] riscv: vdso_cfi: Add clean rule for copied sources"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.61 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 998.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1346.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.05 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.02 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.71 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#27: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 8 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit eb1488de256a ("riscv: vdso_cfi: Add .gitignore for build artifacts") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 8 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 2: "[2/2] riscv: vdso_cfi: Add .gitignore for build artifacts"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from e3d6c9b to c315cbf Compare March 21, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants